<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Fuse-3.9.1
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;5.&nbsp;File Systems and Disk Management
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="dosfstools.html" title=
          "dosfstools-4.1">Prev</a>
          <p>
            dosfstools-4.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="jfsutils.html" title=
          "jfsutils-1.1.15">Next</a>
          <p>
            jfsutils-1.1.15
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="filesystems.html" title=
          "Chapter&nbsp;5.&nbsp;File Systems and Disk Management">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="fuse3" name="fuse3"></a>Fuse-3.9.1
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Fuse
        </h2>
        <p>
          <span class="application">FUSE</span> (Filesystem in Userspace) is
          a simple interface for userspace programs to export a virtual
          filesystem to the Linux kernel. <span class=
          "application">Fuse</span> also aims to provide a secure method for
          non privileged users to create and mount their own filesystem
          implementations.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/libfuse/libfuse/releases/download/fuse-3.9.1/fuse-3.9.1.tar.xz">
                https://github.com/libfuse/libfuse/releases/download/fuse-3.9.1/fuse-3.9.1.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 26d6b450276fb04e20bf91d83b9423f0
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.5 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 96 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Fuse Dependencies
        </h3>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> (to rebuild the API
          documentation)
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/fuse">http://wiki.linuxfromscratch.org/blfs/wiki/fuse</a>
        </p>
      </div>
      <div class="kernel" lang="en" xml:lang="en">
        <h2 class="sect2">
          <a id="fuse-kernel" name="fuse-kernel"></a>Kernel Configuration
        </h2>
        <p>
          Enable the following options in the kernel configuration and
          recompile the kernel if necessary:
        </p>
        <pre class="screen">
<code class="literal">File systems  ---&gt;
  &lt;*/M&gt; FUSE (Filesystem in Userspace) support [CONFIG_FUSE_FS]</code>
</pre>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Fuse
        </h2>
        <p>
          Install <span class="application">Fuse</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">sed -i '/^udev/,$ s/^/#/' util/meson.build &amp;&amp;

mkdir build &amp;&amp;
cd    build &amp;&amp;

meson --prefix=/usr .. &amp;&amp;
ninja</kbd>
</pre>
        <p>
          The API documentation is included in the package, but if you have
          <a class="xref" href="../general/doxygen.html" title=
          "Doxygen-1.8.17">Doxygen-1.8.17</a> installed and wish to rebuild
          it, issue:
        </p>
        <pre class="userinput">
<kbd class="command">doxygen doc/Doxyfile</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class=
"command">ninja install                                             &amp;&amp;

mv -vf   /usr/lib/libfuse3.so.3*     /lib                 &amp;&amp;
ln -sfvn ../../lib/libfuse3.so.3.9.1 /usr/lib/libfuse3.so &amp;&amp;

mv -vf /usr/bin/fusermount3  /bin         &amp;&amp;
mv -vf /usr/sbin/mount.fuse3 /sbin        &amp;&amp;
chmod u+s /bin/fusermount3                &amp;&amp;

install -v -m755 -d /usr/share/doc/fuse-3.9.1      &amp;&amp;
install -v -m644    ../doc/{README.NFS,kernel.txt} \
                    /usr/share/doc/fuse-3.9.1      &amp;&amp;
cp -Rv ../doc/html  /usr/share/doc/fuse-3.9.1      
</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>sed ...
          util/meson.build</strong></span>: This command disables the
          installation of a boot script and udev rule that are not needed.
        </p>
        <p>
          <span class="command"><strong>mv ... libfuse3.so.3*; ln ...
          libfuse3.so</strong></span>: These commands install the libraries
          in the /lib directory.
        </p>
      </div>
      <div class="configuration" lang="en" xml:lang="en">
        <h2 class="sect2">
          <a id="fuse-configuration" name=
          "fuse-configuration"></a>Configuring fuse
        </h2>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3">
            <a id="fuse-config" name="fuse-config"></a>
          </h3>
          <h4 class="title">
            <a id="fuse-config" name="fuse-config"></a>Config Files
          </h4>
          <p>
            Some options regarding mount policy can be set in the file
            <code class="filename">/etc/fuse.conf</code>. To install the file
            run the following command as the <code class=
            "systemitem">root</code> user:
          </p>
          <pre class="root">
<kbd class="command">cat &gt; /etc/fuse.conf &lt;&lt; "EOF"
<code class=
"literal"># Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000

# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
#user_allow_other</code>
EOF</kbd>
</pre>
          <p>
            Additional information about the meaning of the configuration
            options are found in the man page.
          </p>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">fusermount3, mount.fuse3</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libfuse3.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/include/fuse3 and
              /usr/share/doc/fuse-3.9.1</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="fusermount3" name="fusermount3"></a><span class=
                    "term"><span class=
                    "command"><strong>fusermount3</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a suid root program to mount and unmount Fuse
                    filesystems.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="mount.fuse3" name="mount.fuse3"></a><span class=
                    "term"><span class=
                    "command"><strong>mount.fuse3</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the command <span class=
                    "command"><strong>mount</strong></span> calls to mount a
                    Fuse filesystem.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libfuse3" name="libfuse3"></a><span class=
                    "term"><code class="filename">libfuse3.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">FUSE</span> API
                    functions.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-24 11:51:10 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="dosfstools.html" title=
          "dosfstools-4.1">Prev</a>
          <p>
            dosfstools-4.1
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="jfsutils.html" title=
          "jfsutils-1.1.15">Next</a>
          <p>
            jfsutils-1.1.15
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="filesystems.html" title=
          "Chapter&nbsp;5.&nbsp;File Systems and Disk Management">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
